﻿using System;



namespace WebCrawler
{
	/// <summary>
	/// Пара базового URI и относительного URI
	/// </summary>
	public class UriPair
	{
		public Uri BaseUri { get; set; }
		public string RelativeUri { get; set; }

		public UriPair(Uri baseUri, string relativeUri)
		{
			BaseUri = baseUri;
			RelativeUri = relativeUri;
		}

		public override string ToString()
		{
			//return base.ToString();
			return BaseUri.AbsoluteUri + " -> " + RelativeUri;
		}
	}
}
